package com.llf.Blog.Service;

import com.llf.Blog.Pojo.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llf
 * @since 2021-08-07
 */
public interface BlogService extends IService<Blog> {
    List<Blog> getAllBlog(Integer typeId, String title,Boolean published);
    Boolean updateBlog(Blog blog);
    List<Blog> getBlog(Long id);
    List<Blog> getBlogByTime();
    List<Blog> getBlogByLike(String quarry);
    List<Blog> getBlogByTagId( Long id);
    List<Blog> getAllByYear(Integer year);
    Blog getBlogById(  Long id);

}
